/* Copyright (c) 2009 SpringShowcase, Inc.
 * All right reserved.
 * http://code.google.com/p/springshowcase/
 * This software is the confidential and proprietary information of BeyondWeb
 * , Inc. You shall not disclose such Confidential Information and
 * shall use it only in accordance with the terms of the license agreement
 * you entered into with BeyondWeb.
 *
 * Revision History
 * Author              Date             Description
 * ------------------   --------------    ------------------
 *  tkkim               2010. 3. 27.        
*/   
package org.springshowcase.webtemplate.dummy;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;


/**
 * The Class TilesController.
 */
@Controller
@RequestMapping("/dummy")
public class WebTemplateController {

	// ---------------------------------------------------------------------
	// Class Variable Declaration
	// ---------------------------------------------------------------------
	/** The Constant logger. */
	private static final Logger logger = LoggerFactory
			.getLogger(WebTemplateController.class);
	
	// ---------------------------------------------------------------------
	// Constructor Method Declaration
	// ---------------------------------------------------------------------
	/**
	 * Instantiates a new config controller.
	 */
	public WebTemplateController(){}
	
	// ---------------------------------------------------------------------
	// DI Method (setter,getter) Declaration
	// ---------------------------------------------------------------------
	// ---------------------------------------------------------------------
	// this Method (public/private) Declaration
	// ---------------------------------------------------------------------
	/**
	 * Gets the config.
	 * 
	 * @param model the model
	 * @param request the request
	 * 
	 * @return the config
	 */
	@RequestMapping(value = "/index")
	public ModelAndView getMain() {
		logger.info("========= DummyController.getMain");
		return new ModelAndView();
	}
	
	/**
	 * Gets the show case tiles.
	 * 
	 * @param model the model
	 * @param request the request
	 * 
	 * @return the show case tiles
	 */
	@RequestMapping(value = "/list")
	public ModelAndView getList() {
		logger.info("========= DummyController.getList");
		return new ModelAndView();
	}
	
	/**
	 * Gets the empty.
	 * 
	 * @param model the model
	 * @param request the request
	 * 
	 * @return the empty
	 */
	@RequestMapping(value = "/form")
	public ModelAndView getForm() {
		logger.info("==TilesController.getForm");
		return new ModelAndView();
	}
	
	/**
	 * Handler empty.
	 * 
	 * @return the model and view
	 */
	@RequestMapping(value = "/empty")
	public ModelAndView getEmpty() {
		logger.info("==TilesController.getEmpty");
		return new ModelAndView();
	}
	
	// ---------------------------------------------------------------------
	// interface implement Method (public/private) Declaration
	// ---------------------------------------------------------------------
	// ---------------------------------------------------------------------
	// abstract implement Method (public/private) Declaration
	// ---------------------------------------------------------------------
	// ---------------------------------------------------------------------
	// abstract Method (public/private) Declaration
	// ---------------------------------------------------------------------
	
	
}
